package com.ibiaoke.order.mapper;

import com.ibiaoke.order.entity.GoodsRush;
import com.ibiaoke.order.entity.GoodsRushExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface GoodsRushMapper {
    long countByExample(GoodsRushExample example);

    int deleteByExample(GoodsRushExample example);

    int deleteByPrimaryKey(Integer rushId);

    int insert(GoodsRush record);

    int insertSelective(GoodsRush record);

    List<GoodsRush> selectByExample(GoodsRushExample example);

    GoodsRush selectByPrimaryKey(Integer rushId);

    int updateByExampleSelective(@Param("record") GoodsRush record, @Param("example") GoodsRushExample example);

    int updateByExample(@Param("record") GoodsRush record, @Param("example") GoodsRushExample example);

    int updateByPrimaryKeySelective(GoodsRush record);

    int updateByPrimaryKey(GoodsRush record);

    GoodsRush getGoodsRushByRushIdForUpdate(@Param("rushId") Integer rushId);
}